package com.fumihiko.modules.jxxm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fumihiko.common.utils.PageUtils;
import com.fumihiko.modules.jxxm.entity.OldWorkerEntity;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author hanwenpeng
 * @email devilzwy@gmail.com
 * @date 2022-03-30 15:36:34
 */
public interface OldWorkerService extends IService<OldWorkerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<OldWorkerEntity> getName(String query);

    PageUtils searchPage(Map<String, Object> params);


    List<OldWorkerEntity> queryErrorPage(Map<String, Object> params);

    PageUtils queryRepeatPage(Map<String, Object> params);

    PageUtils queryDeathPage(Map<String, Object> params);

    PageUtils searchDeathPage(Map<String, Object> params);

    List<OldWorkerEntity> listDeathExcel(Map<String, Object> params);

    PageUtils queryDeletePage(Map<String, Object> params);

    PageUtils searchDeletePage(Map<String, Object> params);

    void removeByState(Long[] ids);

    void recoveryById(Long[] ids);

    List<OldWorkerEntity> listExcel(Map<String, Object> params);
}

